package com.nlp.server.mapper;

import com.nlp.server.pojo.entity.UserChat;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户会话数据层
 * @author shiliuyinzhen
 */
@Mapper
public interface UserChatMapper {

    /**
     * 插入用用户会话
     * @param userChat
     * @return
     */
    int insertUserChat(UserChat userChat);

    /**
     * 查找用户会话
     * @param userChat
     * @return
     */
    UserChat selectByCondition(UserChat userChat);
}
